<?php 
namespace app\user\model;

/**
 * 营地模型
 */
class Camps extends \think\Model
{
	
	protected $table = 'camps';
	
	public function carvans(){
		return $this->hasMany('CaravanInfos','services');
	}	
	
	
	/**
	 * 获取营地名称
	 */
	public function campNames($where = []){
		return $this->where('id','in',$where)->select();
	}
}







 ?>